package br.com.absolutech.study.chapter2.p87;

public class Main {

	public static void main(String[] args) {
		Animal[] a = {new Animal(), new Dog(), new Animal()};
		for (int x=0; x< a.length; x++) {
			a[x].doStuff();
		}
		
	}
	
}
